package com.jiuyi.service;

import com.jiuyi.common.R;
import com.jiuyi.dto.StatusIdDto;
import com.jiuyi.entity.Orders;
import com.jiuyi.vo.OrdersVo;

import javax.servlet.http.HttpServletRequest;
import java.time.LocalDateTime;

/**
 * DATA: 2022/10/24
 * Author: 晨夕
 */
public interface OrdersService {
    //去支付
    R submit(Orders orders, HttpServletRequest request);
    //查看历史订单
    R selectPage(int page, int pageSize);
    //后台订单明细
    R<OrdersVo> selectByPages(int page, int pageSize, String number, LocalDateTime orderTime, LocalDateTime checkoutTime);
    //修改派送状态
    R updatePayMethod(StatusIdDto statusIdDto);
}
